package Example27;

public class Example27 {
    public static void main(String[] args) throws Exception/*抛出异常*/{
        int result = divide (4 , 0);
        System.out.println(result);
    }
    public static int divide (int x ,int y) throws Exception/*抛出异常*/{
        return x / y;
    }
}